package com.mybook.allbook.dao;

import com.mybook.allbook.entity.Emp;
import com.mybook.allbook.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDAO {
    public List<User> findAll();
    User find(String id);
    void save(User user);
    User login(@Param("username") String username, @Param("password") String password);
}
